package com.mobis.user.dao;

import com.mobis.user.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface AdminDao extends JpaRepository<Admin,String > ,JpaSpecificationExecutor<Admin> {

    public Admin findAdminByLoginname(String name);
}
